

package com.zdkj.subway.st.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 白卡清单下发管理
 *
 * @author cuilei
 * @date 2020-05-26 15:05:54
 */
@Data
@TableName("sw_tk_white_card")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "白卡清单下发管理")
public class SwTkWhiteCard extends Model<SwTkWhiteCard> {
    private static final long serialVersionUID = 1L;
    /**
     * 唯一标识
     */
    @TableId
    @ApiModelProperty(value = "唯一标识")
    @ExcelProperty(value = "序号")
    private Integer id;
    /**
     * 票种
     */
    @ApiModelProperty(value = "票种")
    @ExcelIgnore
    private String ticketType;
    /**
     * 票卡名称
     */
    @ApiModelProperty(value = "票卡名称")
    @ExcelProperty(value = "票卡名称")
    private String ticketName;

	/**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    @ExcelProperty(value = "订单号")
    private String orderNo;

	/**
     * 订单号段
     */
    @ApiModelProperty(value = "订单号段")
    @ExcelProperty(value = "订单号段")
    private String orderNoArea;

	/**
     * 订单票卡数量
     */
    @ApiModelProperty(value = "订单票卡数量")
    @ExcelProperty(value = "订单票卡数量")
    private Integer orderNumber;
	/**
     * 芯片厂家
     */
    @ApiModelProperty(value = "芯片厂家")
    @ExcelProperty(value = "芯片厂家")
    private String chipProduct;
	/**
     * 下发时间
     */
    @ApiModelProperty(value = "下发时间")
    @ExcelProperty(value = "下发时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate sendDate;
	/**
     * 下发人
     */
    @ApiModelProperty(value = "下发人")
    @ExcelProperty(value = "下发人")
    private String sendPerson;
	/**
     * 下发人工号
     */
    @ApiModelProperty(value = "下发人工号")
    @ExcelProperty(value = "下发人工号")
    private String sendPersonId;
	/**
     * 下发原因
     */
    @ApiModelProperty(value = "下发原因")
    @ExcelProperty(value = "下发原因")
    private String sendReason;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "备注")
    private String remark;

	 /**
     * 普通附件
     */
    @ApiModelProperty(value = "普通附件")
    @ExcelProperty(value = "普通附件")
    private String filePath;

	/**
     * 图片附件
     */
    @ApiModelProperty(value = "图片附件")
    @ExcelProperty(value = "图片附件")
    private String picturePath;   
   
    /**
     * 创建人ID
     */
    @ApiModelProperty(value = "创建人ID")
    @ExcelIgnore
    private Integer creatorId;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    @ExcelIgnore
    private String creatorName;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @ExcelIgnore
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @ExcelIgnore
    private LocalDateTime updateTime;
    /**
     * 删除标志
     */
    @TableLogic
    @ExcelIgnore
    private String delFlag;
}
